package com.xiaojimao.Feign;

import com.xaiojimao.gr_common.CommonPojo.OpenUser;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient(name = "gr-user")
public interface UserFeignService {

    @GetMapping("/user/userInfo/{id}")
    OpenUser getUserById(@PathVariable("id") Long id);
}
